#include "Vertex.h"

//-----------------------------------------------------------------------------
// Name: Vertex()
// Desc: Constructor where Pos x, y, z and Norm x, y, z are passed in
//-----------------------------------------------------------------------------
Vertex::Vertex()
{
	Vert.position.x = 0;
	Vert.position.y = 0;
	Vert.position.z = 0;
	Vert.normal.x = 0;
	Vert.normal.y = 0;
	Vert.normal.z = 0;
}

//-----------------------------------------------------------------------------
// Name: Vertex()
// Desc: Constructor where Pos x, y, z and Norm x, y, z are passed in
//-----------------------------------------------------------------------------
Vertex::Vertex(float fxPos, float fyPos, float fzPos, float fxNorm, float fyNorm, float fzNorm)
{
	Vert.position.x = fxPos;
	Vert.position.y = fyPos;
	Vert.position.z = fzPos;
	Vert.normal.x = fxNorm;
	Vert.normal.y = fyNorm;
	Vert.normal.z = fzNorm;
}

//-----------------------------------------------------------------------------
// Name: Vertex()
// Desc: Constructor where a Pos and norm array wit x, y, z in it are passed in
//		 Only give this any array of 3! otherwis there could be BAD things
//-----------------------------------------------------------------------------
Vertex::Vertex(float Pos[], float Norm[])
{
	Vert.position.x = Pos[0];
	Vert.position.y = Pos[1];
	Vert.position.z = Pos[2];
	Vert.normal.x = Norm[0];
	Vert.normal.y = Norm[1];
	Vert.normal.z = Norm[2];
}

//-----------------------------------------------------------------------------
// Name: Vertex()
// Desc: Copy Constructor
//-----------------------------------------------------------------------------
Vertex::Vertex(const Vertex& rhs)
{
	Vert = rhs.Vert;
}
Vertex::~Vertex(void)
{
}

